package com.messe.base.models;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * 商机表
 * @author jinxiaozhang
 *
 */
public class Business implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -2104092605620474088L;
	private String id;
	private Exhibition exhibition;
	private Organization exhibitor;
	private Reseller reseller;
	private Organization organizer;
	private Person person;
	private String name;
	private String description;
	private PickList status;//状态
	private String childStatusId;//子状态
	private Integer probability;//成功概率
	private Timestamp endDate;//预计结束时间
	private Person manager;//客户经理
	private Timestamp createdStamp;
	private String businessStatus;
	private String exhibitionRangeIds;
	private String boardName;
	private String url;//催款单路径
	private PickList exhibitorStatus;//状态
	private Integer oldExhibitor;//新老客户(0:新客户;1:老客户;)
	
	////
	private Integer oldExhibitorSys;
	////
	
	private Set<Person> persons = new HashSet<Person>(0);
	private Set<BusinessCompetitorRel> businessCompetitorRels = new HashSet<BusinessCompetitorRel>(0);
	private Set<BusinessPersonRel> businessPersonRels = new HashSet<BusinessPersonRel>(0);
	private Set<MarketingBusinessRel> marketingBusinessRels = new HashSet<MarketingBusinessRel>(0);
	private Set<OrganizationProductServiceRel> organizationProductServiceRels = new HashSet<OrganizationProductServiceRel>(0);
	private Set<Contract> contracts = new HashSet<Contract>(0);
	private Set<OrganizationAccountRel> organizationAccountRels = new HashSet<OrganizationAccountRel>(0);
	
	private String hasSend;
	
	public Integer getOldExhibitorSys() {
		return oldExhibitorSys;
	}
	public void setOldExhibitorSys(Integer oldExhibitorSys) {
		this.oldExhibitorSys = oldExhibitorSys;
	}
	public String getHasSend() {
		return hasSend;
	}
	public void setHasSend(String hasSend) {
		this.hasSend = hasSend;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Exhibition getExhibition() {
		return exhibition;
	}
	public void setExhibition(Exhibition exhibition) {
		this.exhibition = exhibition;
	}
	public Organization getExhibitor() {
		return exhibitor;
	}
	public void setExhibitor(Organization exhibitor) {
		this.exhibitor = exhibitor;
	}
	public Reseller getReseller() {
		return reseller;
	}
	public void setReseller(Reseller reseller) {
		this.reseller = reseller;
	}
	public Organization getOrganizer() {
		return organizer;
	}
	public void setOrganizer(Organization organizer) {
		this.organizer = organizer;
	}
	public Person getPerson() {
		return person;
	}
	public void setPerson(Person person) {
		this.person = person;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public PickList getStatus() {
		return status;
	}
	public void setStatus(PickList status) {
		this.status = status;
	}
	public String getChildStatusId() {
		return childStatusId;
	}
	public void setChildStatusId(String childStatusId) {
		this.childStatusId = childStatusId;
	}
	public String getBusinessStatus() {
		return businessStatus;
	}
	public void setBusinessStatus(String businessStatus) {
		this.businessStatus = businessStatus;
	}
	
	public Integer getProbability() {
		return probability;
	}
	public void setProbability(Integer probability) {
		this.probability = probability;
	}
	public String getExhibitionRangeIds() {
		return exhibitionRangeIds;
	}
	public void setExhibitionRangeIds(String exhibitionRangeIds) {
		this.exhibitionRangeIds = exhibitionRangeIds;
	}
	public String getBoardName() {
		return boardName;
	}
	public void setBoardName(String boardName) {
		this.boardName = boardName;
	}
	public Timestamp getEndDate() {
		return endDate;
	}
	public void setEndDate(Timestamp endDate) {
		this.endDate = endDate;
	}
	public Person getManager() {
		return manager;
	}
	public void setManager(Person manager) {
		this.manager = manager;
	}
	public Timestamp getCreatedStamp() {
		return createdStamp;
	}
	public void setCreatedStamp(Timestamp createdStamp) {
		this.createdStamp = createdStamp;
	}
	public Set<Person> getPersons() {
		return persons;
	}
	public void setPersons(Set<Person> persons) {
		this.persons = persons;
	}
	public Set<BusinessCompetitorRel> getBusinessCompetitorRels() {
		return businessCompetitorRels;
	}
	public void setBusinessCompetitorRels(Set<BusinessCompetitorRel> businessCompetitorRels) {
		this.businessCompetitorRels = businessCompetitorRels;
	}
	public Set<BusinessPersonRel> getBusinessPersonRels() {
		return businessPersonRels;
	}
	public void setBusinessPersonRels(Set<BusinessPersonRel> businessPersonRels) {
		this.businessPersonRels = businessPersonRels;
	}
	public Set<MarketingBusinessRel> getMarketingBusinessRels() {
		return marketingBusinessRels;
	}
	public void setMarketingBusinessRels(Set<MarketingBusinessRel> marketingBusinessRels) {
		this.marketingBusinessRels = marketingBusinessRels;
	}
	public Set<OrganizationProductServiceRel> getOrganizationProductServiceRels() {
		return organizationProductServiceRels;
	}
	public void setOrganizationProductServiceRels(Set<OrganizationProductServiceRel> organizationProductServiceRels) {
		this.organizationProductServiceRels = organizationProductServiceRels;
	}
	public Set<Contract> getContracts() {
		return contracts;
	}
	public void setContracts(Set<Contract> contracts) {
		this.contracts = contracts;
	}
	public Set<OrganizationAccountRel> getOrganizationAccountRels() {
		return organizationAccountRels;
	}
	public void setOrganizationAccountRels(Set<OrganizationAccountRel> organizationAccountRels) {
		this.organizationAccountRels = organizationAccountRels;
	}
	public PickList getExhibitorStatus() {
		return exhibitorStatus;
	}
	public void setExhibitorStatus(PickList exhibitorStatus) {
		this.exhibitorStatus = exhibitorStatus;
	}
	public Integer getOldExhibitor() {
		return oldExhibitor;
	}
	public void setOldExhibitor(Integer oldExhibitor) {
		this.oldExhibitor = oldExhibitor;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	
	
}
